package com.example.teachingSystem.pojo.form.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(defaultValue = "修改用户信息对象")
public class ChangeUserInfoForm {

    @Schema(description = "用户id")
    private Long id;

    @Schema(description="姓名")
    @NotNull(message = "姓名不能为空")
    private String name;

    @Schema(description="邮箱")
    private String email;

    @Schema(description="签名")
    private String sign;

    @Schema(description="性别")
    @NotNull(message = "性别不能为空")
    private Integer sex;

    @Schema(description="用户头像")
    private String avatar;

}
